V-DOM and P-XML - Towards a Valid Programming of XML-Based Applications

نویسندگان

  • Martin Kempa
  • Volker Linnemann
چکیده

Many WWW applications generate HTML or XML documents dynamically. Current tools, however, like languages using DOM or Java Server Pages do not allow to check the validity of the generated documents statically. Instead, validity has to be “checked” dynamically by appropriate test runs. This paper addresses this problem by introducing a new distinct class for each element type of a DTD. Each class extends the Element-class of the Document Object Model (DOM). The resulting object model is called Validating DOM (V-DOM). Parametric XML (P-XML) is an extension of XML allowing to insert values of the newly defined classes in places where the corresponding element types are allowed according to the underlying DTD. Like V-DOM, P-XML guarantees the validity of all XML documents generated by using P-XML. V-DOM and P-XML are illustrated by several examples.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Towards Valid XML Applications

Many WWW applications generate HTML or XML documents dynamically. Current tools, however, like languages using DOM or JAVA Server Pages do not allow to check the validity of the generated documents statically. Instead, validity has to be “checked” dynamically by appropriate test runs. This paper addresses this problem by introducing a new distinct class for each element type of a DTD. Each clas...

متن کامل

Implementing a database programming language for XML applications

There is an emerging amount of software for generating, manipulating and storing XML documents, which remain valid according to a given DTD or an XML Schema. Common solutions are often based on the W3C’s Document Object Model (DOM), which has evolved to an important collection of language independent interfaces allowing to represent and manipulate any single XML document. Databases containing m...

متن کامل

Prototyping a Vibrato-Aware Query-By-Humming (QBH) Music Information Retrieval System for Mobile Communication Devices: Case of Chromatic Harmonica

Background and Aim: The current research aims at prototyping query-by-humming music information retrieval systems for smart phones. Methods: This multi-method research follows simulation technique from mixed models of the operations research methodology, and the documentary research method, simultaneously. Two chromatic harmonica albums comprised the research population. To achieve the purpose ...

متن کامل

Static Analysis for Event-Based XML Processing

Event-based processing of XML data – as exemplified by the popular SAX framework – is a powerful alternative to using W3C’s DOM or similar tree-based APIs. The event-based approach is particularly superior when processing large XML documents in a streaming fashion with minimal memory consumption. This paper discusses challenges and presents some considerations for creating program analyses for ...

متن کامل

The Extensible XML Information Set

XML and its data model, the XML Information Set, are used for a large number of applications. These applications have widely varying data models, ranging from very simple regular trees to irregularly structured graphs using many different types of nodes and vertices. While some applications are sufficiently supported by the data model provided by the XML Infoset itself, others could benefit fro...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Information & Software Technology

دوره 44  شماره 

صفحات  -

تاریخ انتشار 2002